﻿#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QWidget>
#include <QString>
#include "users.h"
#include "fileio.h"

namespace Ui {
class LoginWidget;
}

class LoginWidget : public QWidget
{
    Q_OBJECT

public:
    explicit LoginWidget(QWidget *parent = 0);
    ~LoginWidget();

signals:
    void goRegisterWidget();
    void goMainWidget();

private slots:
    void on_btn_register_clicked();

    void on_btn_clear_clicked();

    void on_btn_login_clicked();

    void on_btn_exit_clicked();

private:
    void clearAllEditline();

private:
    Ui::LoginWidget *ui;

};

#endif // LOGINWIDGET_H
